package com.lfz.quality_effect.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收结存统计表
 * </p>
 *
 * @author Destiny
 * @since 2023-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TCollectionBalance implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 法院
     */
    @TableField("court")
    private String court;

    /**
     * 管辖-新收
     */
    @TableField("jurisdiction_new")
    private Integer jurisdictionNew;

    /**
     * 刑事-新收
     */
    @TableField("criminal_new")
    private Integer criminalNew;

    /**
     * 民事-新收
     */
    @TableField("civil_new")
    private Integer civilNew;

    /**
     * 行政-新收
     */
    @TableField("administrate_new")
    private Integer administrateNew;

    /**
     * 国家赔偿与司法救助-新收
     */
    @TableField("compensate_judicial_relief_new")
    private Integer compensateJudicialReliefNew;

    /**
     * 区司法协助-新收
     */
    @TableField("district_judicial_assistance_new")
    private Integer districtJudicialAssistanceNew;

    /**
     * 司法制裁-新收
     */
    @TableField("judicial_sanction_new")
    private Integer judicialSanctionNew;

    /**
     * 非诉保全-新收
     */
    @TableField("non_litigate_preservate_new")
    private Integer nonLitigatePreservateNew;

    /**
     * 执行-新收
     */
    @TableField("execute_new")
    private Integer executeNew;

    /**
     * 强制清算与破产-新收
     */
    @TableField("force_liquidate_new")
    private Integer forceLiquidateNew;

    /**
     * 其他-新收
     */
    @TableField("other_new")
    private Integer otherNew;

    /**
     * 合计-新收
     */
    @TableField("total_new")
    private Integer totalNew;

    /**
     * 管辖-旧存
     */
    @TableField("jurisdiction_old")
    private Integer jurisdictionOld;

    /**
     * 刑事-旧存
     */
    @TableField("criminal_old")
    private Integer criminalOld;

    /**
     * 民事-旧存
     */
    @TableField("civil_old")
    private Integer civilOld;

    /**
     * 行政-旧存
     */
    @TableField("administrate_old")
    private Integer administrateOld;

    /**
     * 国家赔偿与司法救助-旧存
     */
    @TableField("compensate_judicial_relief_old")
    private Integer compensateJudicialReliefOld;

    /**
     * 区司法协助-旧存
     */
    @TableField("district_judicial_assistance_old")
    private Integer districtJudicialAssistanceOld;

    /**
     * 司法制裁-旧存
     */
    @TableField("judicial_sanction_old")
    private Integer judicialSanctionOld;

    /**
     * 非诉保全-旧存
     */
    @TableField("non_litigate_preservate_old")
    private Integer nonLitigatePreservateOld;

    /**
     * 执行-旧存
     */
    @TableField("execute_old")
    private Integer executeOld;

    /**
     * 强制清算与破产-旧存
     */
    @TableField("force_liquidate_old")
    private Integer forceLiquidateOld;

    /**
     * 其他-旧存
     */
    @TableField("other_old")
    private Integer otherOld;

    /**
     * 合计-旧存
     */
    @TableField("total_old")
    private Integer totalOld;

    /**
     * 管辖-已结
     */
    @TableField("jurisdiction_settled")
    private Integer jurisdictionSettled;

    /**
     * 刑事-已结
     */
    @TableField("criminal_settled")
    private Integer criminalSettled;

    /**
     * 民事-已结
     */
    @TableField("civil_settled")
    private Integer civilSettled;

    /**
     * 行政-已结
     */
    @TableField("administrate_settled")
    private Integer administrateSettled;

    /**
     * 国家赔偿与司法救助-已结
     */
    @TableField("compensate_judicial_relief_settled")
    private Integer compensateJudicialReliefSettled;

    /**
     * 区司法协助-已结
     */
    @TableField("district_judicial_assistance_settled")
    private Integer districtJudicialAssistanceSettled;

    /**
     * 司法制裁-已结
     */
    @TableField("judicial_sanction_settled")
    private Integer judicialSanctionSettled;

    /**
     * 非诉保全-已结
     */
    @TableField("non_litigate_preservate_settled")
    private Integer nonLitigatePreservateSettled;

    /**
     * 执行-已结
     */
    @TableField("execute_settled")
    private Integer executeSettled;

    /**
     * 强制清算与破产-已结
     */
    @TableField("force_liquidate_settled")
    private Integer forceLiquidateSettled;

    /**
     * 其他-已结
     */
    @TableField("other_settled")
    private Integer otherSettled;

    /**
     * 合计已结
     */
    @TableField("total_settled")
    private Integer totalSettled;

    /**
     * 管辖-未结
     */
    @TableField("jurisdiction_unsettled")
    private Integer jurisdictionUnsettled;

    /**
     * 刑事-未结
     */
    @TableField("criminal_unsettled")
    private Integer criminalUnsettled;

    /**
     * 民事-未结
     */
    @TableField("civil_unsettled")
    private Integer civilUnsettled;

    /**
     * 行政-未结
     */
    @TableField("administrate_unsettled")
    private Integer administrateUnsettled;

    /**
     * 国家赔偿与司法救助-未结
     */
    @TableField("compensate_judicial_relief_unsettled")
    private Integer compensateJudicialReliefUnsettled;

    /**
     * 区司法协助-未结
     */
    @TableField("district_judicial_assistance_unsettled")
    private Integer districtJudicialAssistanceUnsettled;

    /**
     * 司法制裁-未结
     */
    @TableField("judicial_sanction_unsettled")
    private Integer judicialSanctionUnsettled;

    /**
     * 非诉保全-未结
     */
    @TableField("non_litigate_preservate_unsettled")
    private Integer nonLitigatePreservateUnsettled;

    /**
     * 执行-未结
     */
    @TableField("execute_unsettled")
    private Integer executeUnsettled;

    /**
     * 强制清算与破产-未结
     */
    @TableField("force_liquidate_unsettled")
    private Integer forceLiquidateUnsettled;

    /**
     * 其他-未结
     */
    @TableField("other_unsettled")
    private Integer otherUnsettled;

    /**
     * 合计=未结
     */
    @TableField("total_unsettled")
    private Integer totalUnsettled;

    /**
     * 数据导入日期
     */
    @TableField("data_time")
    private String dataTime;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 民商事结案率=（已结民事/已结民事+未结民事）
     */
    @TableField("civil_settled_rate")
    private BigDecimal civilSettledRate;

    /**
     * 总结案率=（全部已结/全部已结+ 全部未结）
     */
    @TableField("total_settled_rate")
    private BigDecimal totalSettledRate;
}
